package com.pfa.test.metier;

import java.util.List;

import com.pfa.test.entities.ClientDsi;
import com.pfa.test.entities.DemandeReparation;
import com.pfa.test.entities.Intervenant;

public interface IManagerMetier {
	//gestion Client
	public void ajouterClient(ClientDsi cli);
	public void supprimerClient(Long cli);
	public List<ClientDsi> listClient();
	public ClientDsi getClient(Long cli);
	
	//gestionIntervenent
	public void ajouterIntervenant(Intervenant cli);
	public void supprimerIntervenant(Long id);
	public List<Intervenant> listIntervenant();
	public Intervenant getIntervenant(Long id);
	
	//gestionReparation
	public void modifierReparation(DemandeReparation rep);
	public DemandeReparation getDemandeReparation(Long id);
	public List<DemandeReparation> listDemandeReparation();
	public List<DemandeReparation> getDemandeReparationByClient(Long idClient);
	public List<DemandeReparation> getDemandeReparationByIntervenent(Long idIntervenent);
	
}
